package problem.ej1;
import java.io.*;

public class main {
	public static void main(String[] args) {
		//int n = 8;
		//int a[] = new int[n];
		
		/// CASO 1
				/*int n = 8;
				int a[] = {9, 8, 7, 6, 5, 4, 3, 2};
				*/
		/// CASO 2
				int n = 12;
				int a[] = {9, 8, 7, 6, 5, 4, 3, 2, 1, 2, 3, 4};
				
		
		/// CASO 3
				/*int n = 13;
				int a[] = {9, 8, 7, 6, 5, 4, 3, 2, 1, 2, 3, 4, 2};
				*/
		
		/// CASO 4
				/*int n = 4;
				int a[] = {1, 2, 3, 4};
				*/
		
		/// CASO 5
				/*int n = 9;
				int a[] = {1, 2, 3, 4, 1, 2, 3, 4, 2};
				*/
		
		/// CASO 6
				/*int n = 9;
				int a[] = {1, 2, 3, 4, 1, 2, 3, 5, 2};
				*/
		
		
		/*a[0] = 3;
		a[1] = 4;
		a[2] = 5;
		a[3] = 2;
		a[4] = 6;*/
		
		/*a[0] = 9;
		a[1] = 24;
		a[2] = 29;
		a[3] = 40;
		a[4] = 3;
		a[5] = 9;
		a[6] = 4;
		a[7] = 6;
		a[8] = 3;
		a[9] = 3;*/
		
		
		
		//for (int i=0; i<n; i++)	System.out.print(a[i]);
		
		//System.out.println("\n"+"\n");
		ejercicio1 obj_ej1 = new ejercicio1();
		obj_ej1.precios(a, n);
		
	}

}
